package com.zaoyidian.service;

import com.zaoyidian.common.ServerResponse;
import com.zaoyidian.pojo.User;

/**
 * Created by Gahins on 2017/8/12.
 */
public interface IUserService {
    ServerResponse<User> login(String username, String password);
    ServerResponse<String> register(User user);
    ServerResponse<String> checkValid(String str,String type);

}
